package com.example.studyPlatform;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@Slf4j
@SpringBootApplication
@MapperScan(basePackages = {"com.example.studyPlatform.mapper"})
@ServletComponentScan(basePackages = {"com.example.studyPlatform.Filter"})
@EnableTransactionManagement
public class StudyPlatformApplication {
    //TODO   filter 或 Aop 获取足迹
    public static void main(String[] args) {
        SpringApplication.run(StudyPlatformApplication.class, args);
        log.info("http://localhost");
    }

}
